/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.config.service.ali;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.config.dao.ali.ConfigAlipayDao;
import com.thinkgem.jeesite.modules.config.entity.ali.ConfigAlipay;

/**
 * 支付宝基本信息Service
 * @author Egan
 * @version 2017-02-28
 */
@Service
@Transactional(readOnly = true)
public class ConfigAlipayService extends CrudService<ConfigAlipayDao, ConfigAlipay> {

	@Autowired
	ConfigAlipayDao configAlipayDao;
	public ConfigAlipay get(String id) {
		return super.get(id);
	}
	
	public List<ConfigAlipay> findList(ConfigAlipay configAlipay) {
		return super.findList(configAlipay);
	}
	
	public Page<ConfigAlipay> findPage(Page<ConfigAlipay> page, ConfigAlipay configAlipay) {
		return super.findPage(page, configAlipay);
	}
	
	@Transactional(readOnly = false)
	public void save(ConfigAlipay configAlipay) {
		super.save(configAlipay);
	}
	
	@Transactional(readOnly = false)
	public void delete(ConfigAlipay configAlipay) {
		super.delete(configAlipay);
	}
	public ConfigAlipay getConfigAlipay() {
		return configAlipayDao.getConfigAlipay();
	}
}